﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NabNetLib
{
    public partial class Plugin
    {
        public override bool Equals(object obj)
        {
            Plugin p = obj as Plugin;
            if(p!=null)
            {
                return this.id == p.id;
            }
            return false;
        }

        public override int GetHashCode()
        {
            return this.id.GetHashCode();
        }
    }
}
